package AccountWindow.SystemAdmin.AccountDetailWindow;

import javax.swing.*;
import javax.swing.table.TableCellRenderer;
import java.awt.*;

public class TableCellRendererButtonOfDelete implements TableCellRenderer {
    @Override   //该类是表格的渲染器
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        JButton button = new JButton("删除");
        return button;
    }
}
